package com.example.permissionsystem1_1.businessFunction.service.interfaces;

import com.example.permissionsystem1_1.businessFunction.service.entity.reqModel.testReqModel.*;
import com.example.permissionsystem1_1.businessFunction.service.entity.rspModel.testRspModel.*;
import com.example.permissionsystem1_1.common.businessFunction.BaseService;

public interface TestService extends BaseService {
    /** 新增一条记录 */
    TestInsertRspModel insert(TestInsertReqModel reqModel);
    /** 批量新增多条记录 */
    TestInsertBatchRspModel insertBatch(TestInsertBatchReqModel reqModel);
    /** 根据id删除一条记录 */
    TestDeleteByIdRspModel deleteById(TestDeleteByIdReqModel reqModel);
    /** 根据给定的字段值删除符合条件的多条记录 */
    TestDeletesRspModel deletes(TestDeletesReqModel reqModel);
    /** 根据id集合删除多条记录 */
    TestDeleteBatchByIdsRspModel deleteBatchByIds(TestDeleteBatchByIdsReqModel reqModel);
    /** 根据id修改一条记录 */
    TestUpdateByIdRspModel updateById(TestUpdateByIdReqModel reqModel);
    /** 根据指定的byTestPo中的属性为选择条件,按照setTestPo中的属性进行修改符合条件的多条记录 */
    TestUpdatesRspModel updates(TestUpdatesReqModel reqModel);
    /** 根据指定多个ids,来批量修改多条记录 */
    TestUpdateBatchByIdsRspModel updateBatchByIds(TestUpdateBatchByIdsReqModel reqModel);
    /** 根据指定id查询一条记录 */
    TestSelectByIdRspModel selectById(TestSelectByIdReqModel reqModel);
    /** 根据指定的条件查询符合条件的多条记录 */
    TestSelectsRspModel selects(TestSelectsReqModel reqModel);
    /** 根据多个id查询多条记录 */
    TestSelectBatchByIdsRspModel selectBatchByIds(TestSelectBatchByIdsReqModel reqModel);
    /** 分页查询多条记录 */
    TestSelectPageRspModel selectPage(TestSelectPageReqModel reqModel);

}
